import Vue from 'vue'
import VueRouter from 'vue-router'
const distribution = resolve => require(['@/components/distribution'], resolve)
const detailsData = resolve => require(['@/components/detailsData'], resolve)
Vue.use(VueRouter)

export default new VueRouter({
  routes: [
    {
      path: '/',
      redirect: '/distribution'
    },
    {
      path: '/distribution',
      name: 'distribution',
      component: distribution
    },
    {
      path: "/detailsData",
      name: "detailsData",
      component: detailsData
    }    
  ]
})
